package com.sky.service.impl;

import com.sky.dto.CustomerDTO;
import com.sky.mapper.InformationMapper;
import com.sky.service.InformationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.ParameterResolutionDelegate;
import org.springframework.stereotype.Service;

@Service
public class InformationServiceImpl implements InformationService {
    @Autowired
    private InformationMapper informationMapper;
    @Override
    public void addCarInformation(CustomerDTO customerDTO) {
        informationMapper.addCarInformation(customerDTO);
    }

    @Override
    public void editCarInformation(CustomerDTO customerDTO) {
        informationMapper.editCarInformation(customerDTO);
    }

    @Override
    public void deleteCarInformation(Long customerId) {
        informationMapper.deleteCarInformation(customerId);
    }
}
